/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.contract.db.impl;

import com.yunhoo.contract.model.PayInformation;
import com.yunhoo.sys.db.util.IbatisTemplate;
import com.yunhoo.sys.util.common.LoginParam;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 *
 * @author cw
 */
public class ContractAlertImpl {

    private static final String NAMESPACE = "contractAlert.";

    public static List<PayInformation> queryAlertList(Date payTime) {
        Map map = new HashMap();
        map.put("orgCode", LoginParam.getOrg().getCode());
        map.put("curDate", new Date());
        map.put("payTime", payTime);
        return IbatisTemplate.queryForList(NAMESPACE + "queryAlertList", map);
    }
}
